from django.db.models import Model, CharField, IntegerField
from app4.models.BaseModel import BaseModel

class UserInfoModel(BaseModel):
    """用户信息"""
    user_name = CharField(max_length = 32)
    password = CharField(max_length = 32)
    age = IntegerField(null = True)
    
    class Meta:
        app_label = 'app4' 
        db_table = 'userinfo'



